package com.jkoss.wine.shop.mapper;

import com.jkoss.wine.shop.entity.CommonType;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;

/**
 *  Mapper 接口
 * 
 * @Author Supreme
 * @Version 1.0, 2018-10-05
 * @See
 * @Since com.jkoss.wine.shop.mapper
 * @Description: TODO
 */
public interface CommonTypeMapper extends BaseMapper<CommonType> {
	
	boolean insertMerchantCommonType(List<CommonType> commonTypes);
	
	Integer updateCommonTypeByParentId(@Param("commonType") CommonType commonType);
	
	Integer updateDelByParentId(@Param("del") Boolean del, @Param("parentId") String parentId);

}
